home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Fritz: All Fritz
/
All Fritz.zip
/
All Fritz
/
FILES
/
PROGSCAL
/
TBUTIL2.LZH
/
DOT.PAS
< prev
next >
Wrap
Pascal/Delphi Source File
|
1984-07-04
|
712b
|
32 lines
Program Dot;
{ Program to test the speed of Bios interupt to perform character I/O
{ Randomly plots a character 20000 times.
{ Takes about twice as long as RANDDOT.PAS
{ Danny Cavasos June 1984 }
type
varX = record
varL,varH: Byte;
end;
RecPack = record
AX,BX: varX;
CX,DX,BP,SI,DI,DS,ES,FLAGS: Integer;
end;
var
IntParm : RecPack;
x,y,i : Integer;
begin
for i:=1 to 20000 do
begin
x:=random(80);
y:=random(25);
gotoXY(x,y);
with IntParm do
begin
AX.varH:=$A;
AX.varl:=$2;
BX.varH:=$0;
CX:=$1;
Intr($10,IntParm);
end;
end;
end.